﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster/Site.Master" AutoEventWireup="true" CodeBehind="Modificar_Minuta.aspx.cs" Inherits="Sistema_Totem.Vista.Minuta.Modificar_Minuta" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Modificar Minuta
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id='ruta' runat="server" style = "height:30px" class="ruta">
        Minutas > Modificar Minuta
    </div>
    <blockquote>
    <center>
    <blockquote>
    <table style="width: 100%;">
        <tr>
            <td class="style4">
                &nbsp;
            </td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="font-weight: 700" class="style4">
                <label style="color:Red">*</label>Motivo de la Minuta:</td>
            <td style="font-weight: 700" class="style12">
                &nbsp;</td>
            <td style="font-weight: 700" class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;
                <asp:TextBox ID="motivo" runat="server" Width="291px"></asp:TextBox>
            </td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="font-weight: 700" class="style4">
                <label style="color:Red">*</label>Participantes:</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="1" style="text-align: center" class="style4">
                Personas Relacionadas al proyecto</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                Asistentes a la Entrevista</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8" style="text-align: center">
                <asp:ListBox ID="cliente" runat="server" style="text-align: justify" 
                    Height="171px" Width="185px"></asp:ListBox>
            </td>
            <td class="style9">
                <table style="width:100%;" align="center">
                    <tr>
                        <td style="text-align: center">
                <asp:Button ID="agregar" runat="server" Text="Agregar >" 
                    onclick="agregar_Click" />
                        </td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                <asp:Button ID="eliminar" runat="server" Text="< Eliminar" 
                    onclick="eliminar_Click" />
                        </td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                <asp:Button ID="agregarpersona" runat="server" Text="Persona Nueva" 
                    onclick="agregarpersona_Click" />
                        </td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
            <td class="style10">
                <asp:ListBox ID="asistieron" runat="server" Height="171px" 
                    onselectedindexchanged="asistieron_SelectedIndexChanged" Width="185px"></asp:ListBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Panel ID="nuevapersona" runat="server">
                    <table style="width:100%;">
                        <tr>
                            <td>
                                <label style="color:Red">*</label>Nombre</td>
                            <td>
                                <asp:TextBox ID="nuevonombre" runat="server" Width="215px"></asp:TextBox>
                            </td>
                            <td rowspan="5" style="text-align: center">
                                <asp:Button ID="agregarpersonaproyecto1" runat="server" 
                                    style="text-align: center" Text="Agregar Persona al Proyecto" 
                                    onclick="agregarpersonaproyecto1_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label style="color:Red">*</label>Correo</td>
                            <td>
                                <asp:TextBox ID="nuevocorreo" runat="server" Width="214px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label style="color:Red">*</label>Compañía</td>
                            <td>
                                <asp:DropDownList ID="nuevocliente" runat="server" Height="17px" Width="212px">
                                    <asp:ListItem Selected="True">Cliente</asp:ListItem>
                                    <asp:ListItem>Desarrollador</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td style="text-align: center" colspan="2">
                                <asp:Button ID="agregarpesonaminuta" runat="server" 
                                    Text="Agregar Persona a la Minuta" onclick="agregarpesonaminuta_Click" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <strong>Temas a tratar</strong></td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <div id='tema' runat="server">
                    <asp:Panel ID="temanuevo" runat="server">
                        <table style="width:100%;">
                            <tr>
                                <td>
                                    <label style="color:Red">*</label>Tema</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="temaname" runat="server" Width="261px"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td><label style="color:Red">*</label>
                                    Desarrollo Tema</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="desarrollotema" runat="server" Height="95px" Width="546px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="1">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </asp:Panel>
                </div>
            </td>
            <td class="style13">
                Temas Agregados<br />
                <asp:ListBox ID="listatema" runat="server" Height="171px" Width="185px"></asp:ListBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Button ID="nuevotema" runat="server" Text="Agregar Tema" 
                    onclick="nuevotema_Click" />
            </td>
            <td class="style13" style="text-align: center">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" 
                    Text="Consultar Tema" />
            </td>
        </tr>
        <tr>
            <td colspan="2"><label style="color:Red">*</label>
                <strong>Observaciones</strong></td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:TextBox ID="observaciones" runat="server" Height="106px" Width="546px"></asp:TextBox>
            </td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3" style="font-weight: 700">Acuerdos y Compromisos</td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <table style="width:100%;">
                    <tr>
                        <td style="width: 249px">
                            &nbsp;</td>
                        <td style="width: 302px">
                            &nbsp;</td>
                        <td colspan="1" rowspan="5" style="text-align: center">
                            Acuerdos o compromisos agregados<br />
                <asp:ListBox ID="listaacuerdos" runat="server" Height="171px" Width="185px" 
                                onselectedindexchanged="listaacuerdos_SelectedIndexChanged"></asp:ListBox>
                            <br />
                            <asp:Button ID="consultaracuerdo" runat="server" onclick="Button2_Click" 
                                Text="Consultar Acuerdo" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 249px"><label style="color:Red">*</label>
                            Acuerdos y Compromisos</td>
                        <td style="width: 302px">
                            <asp:TextBox ID="acuerdoycompromisos" runat="server" Width="287px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 249px"><label style="color:Red">*</label>
                            Responsable</td>
                        <td style="width: 302px">
                            <asp:DropDownList ID="responsable" runat="server" Height="17px" 
                                onselectedindexchanged="responsable_SelectedIndexChanged" Width="284px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 249px"><label style="color:Red">*</label>
                            Fecha</td>
                        <td style="width: 302px">
                            <asp:TextBox ID="fecha" runat="server" ontextchanged="TextBox2_TextChanged" 
                                Width="282px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 249px">
                            &nbsp;</td>
                        <td style="width: 302px">
                            <asp:Button ID="agergaracuerdo" runat="server" onclick="Button1_Click" 
                                Text="Agregar Acuerdo y Compromiso" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 249px">
                            &nbsp;</td>
                        <td colspan="2" style="width: 302px; text-align: justify">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 249px">
                            &nbsp;</td>
                        <td colspan="2" style="width: 302px; text-align: justify">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="1" style="text-align: right" class="style4">
                <asp:Button ID="agregarminuta" runat="server" Text="Modificar Minuta" 
                    onclick="agregarminuta_Click"/>
            &nbsp;
            </td>
            <td class="style13" style="text-align: center">
                <asp:Button ID="exportar" runat="server" Text="Exportar Minuta" />
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="1" style="text-align: right" class="style4">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
        </tr>
    </table>
    </blockquote>    
    </center>
    </blockquote>
</asp:Content>
